package com.youle.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by
 *
 * @author touni
 * @date 2019/4/28
 * @time 15:50
 */
@Controller
public class GoodsPageController {


    @GetMapping("{id}.html")
    public String toGoodsPage(Model model, @PathVariable Long id){
        //model.addAttribute("");
        return "item";

    }


}
